[Samba] pdbedit and profiles
Collen
collen at zeist.hermanjordan.nl
Wed Jun 15 07:12:28 GMT 2005
Do you have by anny chance the entry
logon path = \\some\thing
in your smb.conf ??
if not, try to add -d=10 to your pdbedit line
--> pdbedit -d=10 -u "ya-1" -p="\\\\cybserver\\netlogon"
and see what the debug shows..
Laters
Collen
Dominic Iadicicco wrote:
> For a test I tried to do this:
>
>
> pdbedit -u "ya-1" -p="\\\\cybserver\\netlogon"
>
> It spewed out this :
>
>
> Unix username: ya-1
> NT username:
> Account Flags: [U ]
> User SID: S-1-5-21-4008386108-3466510086-266964780-2002
> Primary Group SID: S-1-5-21-4008386108-3466510086-266964780-2003
> Full Name:
> Home Directory:
> HomeDir Drive:
> Logon Script: logon.bat
> Profile Path: \\cybserver\profile\ya-1
> Domain: CYBRARYN
> Account desc:
> Workstations:
> Munged dial:
> Logon time: 0
> Logoff time: Mon, 18 Jan 2038 22:14:07 GMT
> Kickoff time: Mon, 18 Jan 2038 22:14:07 GMT
> Password last set: Sat, 04 Jun 2005 11:29:34 GMT
> Password can change: Sat, 04 Jun 2005 11:29:34 GMT
> Password must change: Mon, 18 Jan 2038 22:14:07 GMT
> Last bad password : 0
> Bad password count : 0
> Logon hours : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
>
>
> as you can see the profile path is not correct. and I check that the
> ya-1 user was a vaild smb user. I can log on to the domain with them
> and write to shares and use different domain resources.
>
>
> And as far as why it does show the NT username I dont know.
>
> On 6/14/05, Collen <collen at zeist.hermanjordan.nl> wrote:
>
>>What error do you get returned ??
>>(if none, boost your debug level in the conf)
>>can samba read/write to the passwd backend?
>>what does not work ? (coz here it does work)..
>>
>>Greets.
>>
>>Collen
>>
>>Dominic Iadicicco wrote:
>>
>>>I am using the standard smbpasswd, I think thats a backend.
>>>
>>>On 6/13/05, Tom Skeren <tms3 at fsklaw.com> wrote:
>>>
>>>
>>>>Dominic Iadicicco wrote:
>>>>
>>>>
>>>>
>>>>>That did not work.
>>>>>
>>>>>
>>>>
>>>>What passdb are you using? LDAP TDB?
>>>>
>>>>
>>>>
>>>>>On 6/13/05, Collen <collen at zeist.hermanjordan.nl> wrote:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>pdbedit -u "username" -p="\\\\server\\path"
>>>>>>
>>>>>>Collen.
>>>>>>
>>>>>>Dominic Iadicicco wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>>Hello all,
>>>>>>>
>>>>>>>Could someone give me the command line to edit the profile path of a users?
>>>>>>>
>>>>>>>I have tried this with no results.
>>>>>>>"pdbedit -u someuser -p "\\\\server\\path"
>>>>>>>
>>>>>>>There has to be better documentation.
>>>>>>>
>>>>>>>
>>>>
>>>>
>>>>
More information about the samba
mailing list