[Samba] pdbedit and profiles

Dominic Iadicicco diadicic at gmail.com
Tue Jun 14 17:20:45 GMT 2005


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