[Samba] Re: PDC and windows xp domain joining - root user does not
exist
Igor Belyi
sambauser at katehok.ac93.org
Sat Oct 16 17:33:40 GMT 2004
Ok...
Can you try to do the following:
1. remove domain trust account for the machine leaving its /etc/passwd
entry as it is.
smbpasswd -x vdfbox$
2. attempt to join your Domain again and collect 'log level = 5' smbd log.
Note, that Samba will create machine trust account for you during
joining of the Domain.
Let me know how it goes
Igor
Mark Rutherford wrote:
> Igor,
> what should I set the loglevel to?
> they get very big but I have a log here from a few minutes ago when I
> set it to '10'
> they are accessible here:
> http://www.maunzelectronics.com/~mark/samba/log.smbd
> http://www.maunzelectronics.com/~mark/samba/log.nmbd
>
> ive since changed all the names of the servers, just to move away from
> the 'test', 'test1' confusion
> if there is anything specific anyone wants to see, I can post it up
> someplace.
> also, after changing names around, ect im still getting this infamous
> 'user does not exist'
> thanks for the help :)
>
>
> Igor Belyi wrote:
>
>> Any smbd log you want to share?
>> I'd expect some kind of error in there? :)
>>
>> Igor
>>
>> Mark Rutherford wrote:
>>
>>> ok, changed the computers name and added it just as I added 'test'
>>> then, deleted the 'test' machine
>>> the new machine I called 'mark'
>>> and, it was already in a workgroup.. so I rebooted it
>>> no change. it still tells me that root is an invalid user
>>> so, im back where I started.
>>>
>>>
>>>
>>> Anton K. wrote:
>>>
>>>> Mark Rutherford wrote:
>>>>
>>>>> I am trying to set up a samba PDC, and I have followed many FAQ's
>>>>> and HOWTO's ive found online.
>>>>> all seem to be just about the same..
>>>>> So, I made a config up (at the end of this email)
>>>>> then I did the following:
>>>>> added users/machines as such: (just trying to get it to work,
>>>>> will spice it up later)
>>>>> useradd test$
>>>>> passwd -l test$
>>>>> smbpasswd -a -m test
>>>>> smbpasswd root
>>>>> (entered a password twice...)
>>>>>
>>>>> Now... I went to the windows xp machine, changed some registry
>>>>> settings (windows xp with service pack 2, BTW.)
>>>>> then I attempted to join the domain, entered 'TEST' as the
>>>>> domain, and a prompt came up asking me for the username and
>>>>> password required to join the domain..
>>>>> entered root and the root password and... it tells me: 'the
>>>>> specified user does not exist'
>>>>> now, thats damned strange...
>>>>> so I create another unix user, and then another samba user.. I
>>>>> call this user 'test' with a password 'test'
>>>>> so, I try to use that, and it tells me access denied... so I can
>>>>> understand that..
>>>>> I try to enter root with no password, and it tells me the username
>>>>> or password is invalid.. I expected that as well, I guess.
>>>>> im at a loss. I honestly dont know what to do.
>>>>> my thing is, at work we are considering switching off of novell in
>>>>> favor of samba, so I best get to know it
>>>>> im off to a rocky start. I hope that someone on list has an idea.
>>>>> thanks in advance :)
>>>>>
>>>>>
>>>>> here is my smb.conf, mostly copied from examples:
>>>>> [global]
>>>>> workgroup = TEST
>>>>> netbios name = SAMBAPDC
>>>>> server string = Samba %v on %L
>>>>> log level = 1
>>>>> log file = /var/log/samba/log.%L
>>>>> max log size = 1000
>>>>> time server = Yes
>>>>> socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192
>>>>> SO_RCVBUF=8192
>>>>> logon script = logon.bat
>>>>> logon path = \\%N\profiles\%u
>>>>> domain logons = Yes
>>>>> os level = 255
>>>>> preferred master = Yes
>>>>> domain master = Yes
>>>>>
>>>>> [netlogon]
>>>>> path = /home/samba/netlogon
>>>>> browseable = No
>>>>>
>>>>> [profiles]
>>>>> path = /home/samba/profiles
>>>>> read only = No
>>>>> create mask = 0700
>>>>> directory mask = 0700
>>>>> browseable = No
>>>>>
>>>>> [data]
>>>>> path = /home/samba/data
>>>>> read only = No
>>>>> create mask = 0750
>>>>> directory mask = 0750
>>>>> guest ok = Yes
>>>>>
>>>> How did you called the machine. It has to be the same like the
>>>> machine account of cource, probably 'test' in your case. I saw that
>>>> you called the workgroup the same. My win workstations complain if
>>>> have machine with same name as domain. Try calling domain test1 and
>>>> machine test for instance.
>>>> I also noticed that sometimes a win machine has to be restarted
>>>> before joining a domain .... I don't know why.....
>>>> You can also try make a WinXP SP2 a workgroup machine before
>>>> joining to the domain and test user root and password.....
>>>>
>>>
>>
>
>
More information about the samba
mailing list