IRC Networks
Irc Logs Stats
Start date: 2007-09-27 02:48:27
Last update: 2008-10-24 20:19:38
Channels: 41
Logged Lines: 6230436
Size: 1822.46 MB
Powered by
Channel Info
Network: freenodeChannel: #samba |
Search in www.irclog.org
Log from #samba at freenode 2006-06-06
[00:08]<vnvj>someone just mentioned that long path names slow samba performance, I had never heard of this. don't have details, just wondering if anyone has heard of this?
[00:09]<rddyzrf>cor_: is there a way to enable NFS without the linux CD
[00:09]<rddyzrf>its asking me to put the CD in to install it
[00:10]<ajz_>Admiral: i have never used nfs
[00:11]<ajz_>can't you download the package?
[00:14]<rfurvjlyr>Admiral, there are a million howtos on using nfs
[00:14]<rddyzrf>okay i'll google it
[00:14]<rddyzrf>thanks you two
[00:22]<dnzcjddysszz>sup guys
[00:22]<dnzcjddysszz>im trying to setup a domain controller, long time since i done so with samba
[00:23]<dnzcjddysszz>im not familiar with the net rpc process and im trying to add the domain users to the domain controller
[00:23]<dnzcjddysszz>how would i do so?
[00:25]<frfuyfns>is it possible to apply group policies with a samba-based domain?
[00:32]<dnzcjddysszz>anyone here?
[00:33]<dnzcjddysszz>can anyone help me?
[00:33]<gmmugmj_v>Derkommissar, you can add users using smbpasswd, pdbedit or net utility
[00:35]<dnzcjddysszz>when i use smbpasswd i get that pdb_getsampwnam: unable to open TDV password (/etc/samba/passdb.tdb)
[00:35]<dnzcjddysszz>when i try to use net rpc user add
[00:35]<dnzcjddysszz>it tells me that it cant connect to 127.0.0.1
[00:35]<rfurvjlyr>pgquiles, according to the documentation, not at this point
[00:36]<dnzcjddysszz>when i try to do net rpc service status or start it asks me to put a password that i dont know what it is
[00:37]<frfuyfns>aquatopia thanks, I have an idea on how to achieve that. I'll send it to the list.
[00:38]<gmmugmj_v>Derkommissar, /etc/samba/passdb.tdb? what do you have configured in your passdb backend option in smb.conf?
[00:39]<gmmugmj_v>normally this file stays in /var/lib/samba
[00:40]<rfurvjlyr>edmundo_v, do you have any experience in running samba as a PDC on a WinXP network?
[00:41]<gmmugmj_v>Aquatopia, yes
[00:41]<dnzcjddysszz>edmundo_v please look at my smb.conf pastebin.com/760803
[00:42]<rfurvjlyr>edmundo_v, could you read the following: http://lists.samba.org/archive/samba/2006-June/121572.html
[00:43]<rfurvjlyr>I'm not at work now, but one thing I noticed is the password server is set to jordmil, but it should just be commented out since there is only this only samba server
[00:46]<gmmugmj_v>Derkommissar, does this file /etc/samba/passdb.tdb exists?
[00:47]<dnzcjddysszz>no it doest
[00:47]<dnzcjddysszz>i hae a secrets.tdb
[00:51]<gmmugmj_v>Aquatopia, I never used roaming profiles
[00:51]<rfurvjlyr>edmundo_v, wise man :D
[00:53]<gmmugmj_v>Derkommissar, see if you have a passwd.tdb in /var/lib/samba
[00:54]<dnzcjddysszz>no
[00:54]<gmmugmj_v>+is samba running?
[00:54]<dnzcjddysszz>-yes
[00:55]<vjdajgvz1>-hello, I have just finis configuring my samba network, and it works with windows, but If I set one user to one of the samba shared directories, windows will ask for a password, but it does not let me put the username, it asumes its Guest
[00:55]<vjdajgvz1>-any idea?
[00:55]<dnzcjddysszz>-im able to run smbpasswd now
[00:55]<dnzcjddysszz>-and change the password of a user
[00:55]<dnzcjddysszz>-but when i try to join the domain it still says that the password its incorrect
[00:57]<vjdajgvz1>-???
[01:00]<gmmugmj_v>+Derkommissar, join the domain? are you using the root account?
[01:00]<gmmugmj_v>+tomcontr3, what security option do you have in smb.conf?
[01:00]<gmmugmj_v>+or map to guest option
[01:01]<dnzcjddysszz>-no
[01:01]<dnzcjddysszz>-i created an acount
[01:02]<{gjfmgggdg}>+I have a problem to add windows xp sp2 to my samba 3 domain
[01:02]<{gjfmgggdg}>+build_sam_account: smbpasswd database is corrupt! username jupiter$ with uid 503 is not in unix passwd database!
[01:02]<{gjfmgggdg}>+wath can I do?
[01:03]<dnzcjddysszz>-to run the net rpc service status, what password do i need
[01:03]<gmmugmj_v>+you only can join machines to the domain with the root account (any with uid=0) or using users in the admin users list (in the global section) or using privileges
[01:03]<dnzcjddysszz>-i see
[01:04]<gmmugmj_v>+probably you can use any user, or even the guest account wuth "-U%"
[01:04]<dnzcjddysszz>-edmundo_v how can i add a user that can join the domain from an other machine
[01:08]<gmmugmj_v>+Derkommissar, you can set the "enable privileges = yes" option
[01:08]<dnzcjddysszz>-in smb.conf
[01:08]<{gjfmgggdg}>+ smbd[11798]: [2006/06/05 23:07:56, 0] passdb/pdb_smbpasswd.c:build_sam_account(1205)
[01:08]<{gjfmgggdg}>+Jun 5 23:07:56 moon smbd[11798]: build_sam_account: smbpasswd database is corrupt! username jupiter$ with uid 503 is not in unix passwd database!
[01:09]<gmmugmj_v>+ant assign the privilege to add machines with net rpc rights grant
[01:09]<gmmugmj_v>+yes in smb.conf
[01:09]<gmmugmj_v>+users in the Domain Admins group can assign privileges
[01:11]<dnzcjddysszz>-so whats the command,,, net rpc rigths grant alberto
[01:12]<dnzcjddysszz>-alberto = user ?
[01:12]<dnzcjddysszz>-everytime i run a net rpc command
[01:12]<dnzcjddysszz>-i get asked for a password
[01:12]<dnzcjddysszz>-i dont know of this password
[01:14]<gmmugmj_v>+net rpc rights grant Username SeMachineAccountPrivilege -UAdministrador%$ADMIN_PASSWORD
[01:14]<gmmugmj_v>+where "Administrator" can be root or any account in Domain Admins group
[01:15]<gmmugmj_v>+the password dont have a $, its a bash variable :)
[01:15]<dnzcjddysszz>-it says could not connect to server 127.0.0.1
[01:16]<gmmugmj_v>+can you list the shares with the guest account? "smbclient -L localhost -U%"
[01:17]<dnzcjddysszz>-yes
[01:21]<gmmugmj_v>+net rpc rights list accounts -U% works?
[01:21]<dnzcjddysszz>-yes
[01:22]<gmmugmj_v>+which user have you used?
[01:23]<gmmugmj_v>+to grant rights
[01:23]<dnzcjddysszz>-alberto
[01:23]<dnzcjddysszz>-and root
[01:24]<gmmugmj_v>+can you list the shares with one of these accounts? smbclient -L localhost -Uroot%password ?
[01:24]<dnzcjddysszz>-no
[01:24]<dnzcjddysszz>-i get nt_status_logon_failiure
[01:24]<gmmugmj_v>+ANY user works?
[01:25]<dnzcjddysszz>-yes
[01:25]<dnzcjddysszz>-alberto
[01:25]<gmmugmj_v>+do you have a invalid users = root?
[01:25]<gmmugmj_v>+option
[01:26]<gmmugmj_v>+or, does the root account really exists?
[01:26]<gmmugmj_v>+pdbedit -Lv root
[01:27]<dnzcjddysszz>-it says username not found
[01:27]<gmmugmj_v>+it doesnt exists
[01:27]<gmmugmj_v>+if you put alberto in the Domain Admins group you can grant rights with that account
[01:28]<dnzcjddysszz>-i did alredy
[01:28]<dnzcjddysszz>-i created the account in the domain admin group
[01:28]<dnzcjddysszz>-how can i make sure its in the domain admin group ?
[01:29]<gmmugmj_v>+net rpc group member "Domain Admins" -U%







