I am trying to set up a PDC controller on a samba server, but continue to get the following error: The user could not be added because the following error occured: The trust relationship between the workstation and the primary domain failed. An extract from the log shows only the following: [2003/08/01 22:58:42, 0] smbd/service.c:make_connection(381) make_connection: bkruger logged in as admin user (root privileges) [2003/08/01 22:58:43, 0] rpc_server/srv_samr.c:api_samr_set_userinfo(670) api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO. Specifics are: Slackware v8.0 running kernel v2.4.19, Samba 2.2.7a. Extract from the smb.conf file : [global] workgroup = HOME_OFFICE netbios name = LINUX50 server string = Linux 50 Server encrypt passwords = Yes update encrypted = No log file = /var/log/samba announce version = 4.0 socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192 add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false - logon path = \\%L\profiles\%U logon drive = H: logon home = \\%L\%U\.profile domain logons = Yes os level = 64 preferred master = Yes domain master = Yes wins support = Yes guest account = guest admin users = bkruger [netlogon] path = /usr/local/samba/lib/netlogon write list = ntadmin [profiles] path = /export/smb/ntprofile read only = No create mask = 0600 directory mask = 0700 ----------------------------------------------------------------------------------------------------------- Anyone got any hints or suggestions? Thanks in advance for any assistance. Bob
We are wanting to upgrade our current samba server to a newer machine. Is there an easy way to migrate users/passwords/home dir's? Thanks.
glad to see someone else is having the same problem :-)) If you find out can you let me know tia alex --On 02 August 2003 00:44 -0400 Bob Kruger <bkruger@mindspring.com> wrote:> I am trying to set up a PDC controller on a samba server, but continue to > get the following error: > > The user could not be added because the following error occured: > > The trust relationship between the workstation and the primary domain > failed. > > An extract from the log shows only the following: > > [2003/08/01 22:58:42, 0] smbd/service.c:make_connection(381) > make_connection: bkruger logged in as admin user (root privileges) > [2003/08/01 22:58:43, 0] rpc_server/srv_samr.c:api_samr_set_userinfo(670) > api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO. > > Specifics are: > > Slackware v8.0 running kernel v2.4.19, Samba 2.2.7a. > > Extract from the smb.conf file : > > [global] > workgroup = HOME_OFFICE > netbios name = LINUX50 > server string = Linux 50 Server > encrypt passwords = Yes > update encrypted = No > log file = /var/log/samba > announce version = 4.0 > socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192 > add user script = /usr/sbin/useradd -d /dev/null -g 100 -s > /bin/false - logon path = \\%L\profiles\%U > logon drive = H: > logon home = \\%L\%U\.profile > domain logons = Yes > os level = 64 > preferred master = Yes > domain master = Yes > wins support = Yes > guest account = guest > admin users = bkruger > > [netlogon] > path = /usr/local/samba/lib/netlogon > write list = ntadmin > > [profiles] > path = /export/smb/ntprofile > read only = No > create mask = 0600 > directory mask = 0700 > > > ------------------------------------------------------------------------- > ---------------------------------- > > Anyone got any hints or suggestions? > > Thanks in advance for any assistance. > > Bob > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba
Saturday, August 2, 2003, 3:34:20 PM, Alex wrote:> glad to see someone else is having the same problem :-)) > If you find out can you let me know > tia > alex> --On 02 August 2003 00:44 -0400 Bob Kruger <bkruger@mindspring.com> wrote:>> I am trying to set up a PDC controller on a samba server, but continue to >> get the following error: >> >> The user could not be added because the following error occured: >> >> The trust relationship between the workstation and the primary domain >> failed.Just remove the machine accaount and add again. --beast
On Saturday 02 August 2003 06:44, Bob Kruger wrote:> I am trying to set up a PDC controller on a samba server, but continue > to get the following error: > > The user could not be added because the following error occured: > > The trust relationship between the workstation and the primary domain > failed. > > An extract from the log shows only the following: > > [2003/08/01 22:58:42, 0] smbd/service.c:make_connection(381) > make_connection: bkruger logged in as admin user (root privileges) > [2003/08/01 22:58:43, 0] rpc_server/srv_samr.c:api_samr_set_userinfo(670) > api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO. > > Specifics are: > > Slackware v8.0 running kernel v2.4.19, Samba 2.2.7a. > > Extract from the smb.conf file : > > [global] > workgroup = HOME_OFFICE > netbios name = LINUX50 > server string = Linux 50 Server > encrypt passwords = Yes > update encrypted = No > log file = /var/log/samba > announce version = 4.0 > socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192 > add user script = /usr/sbin/useradd -d /dev/null -g 100 -s > /bin/false - > logon path = \\%L\profiles\%U > logon drive = H: > logon home = \\%L\%U\.profile > domain logons = Yes > os level = 64 > preferred master = Yes > domain master = Yes > wins support = Yes > guest account = guest > admin users = bkruger > > [netlogon] > path = /usr/local/samba/lib/netlogon > write list = ntadmin > > [profiles] > path = /export/smb/ntprofile > read only = No > create mask = 0600 > directory mask = 0700 > > > --------------------------------------------------------------------------- >-------------------------------- > > Anyone got any hints or suggestions? > > Thanks in advance for any assistance. > > Bobdo you use XP OS on Clients ? Joining domain works, but the logon after reboot fails ? then you perhaps have forget to apply the Sign_or_Seal registry-patch ? bye Didi
this is exactly what happened to me. Given that there is no mention of this patch in the samba 2.x docn, who would be responsible for putting it in, I was starting to think i was going mad with this one and as soon as I put in the registry patch everything just worked!! many thanks to the people on the list that replied alex --On 02 August 2003 10:55 +0200 Dietrich Restemeyer <Dietrich.Restemeyer@t-online.de> wrote:> On Saturday 02 August 2003 06:44, Bob Kruger wrote: >> I am trying to set up a PDC controller on a samba server, but continue >> to get the following error: >> >> The user could not be added because the following error occured: >> >> The trust relationship between the workstation and the primary domain >> failed. >> >> An extract from the log shows only the following: >> >> [2003/08/01 22:58:42, 0] smbd/service.c:make_connection(381) >> make_connection: bkruger logged in as admin user (root privileges) >> [2003/08/01 22:58:43, 0] rpc_server/srv_samr.c:api_samr_set_userinfo(670) >> api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO. >> >> Specifics are: >> >> Slackware v8.0 running kernel v2.4.19, Samba 2.2.7a. >> >> Extract from the smb.conf file : >> >> [global] >> workgroup = HOME_OFFICE >> netbios name = LINUX50 >> server string = Linux 50 Server >> encrypt passwords = Yes >> update encrypted = No >> log file = /var/log/samba >> announce version = 4.0 >> socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192 >> add user script = /usr/sbin/useradd -d /dev/null -g 100 -s >> /bin/false - >> logon path = \\%L\profiles\%U >> logon drive = H: >> logon home = \\%L\%U\.profile >> domain logons = Yes >> os level = 64 >> preferred master = Yes >> domain master = Yes >> wins support = Yes >> guest account = guest >> admin users = bkruger >> >> [netlogon] >> path = /usr/local/samba/lib/netlogon >> write list = ntadmin >> >> [profiles] >> path = /export/smb/ntprofile >> read only = No >> create mask = 0600 >> directory mask = 0700 >> >> >> ------------------------------------------------------------------------ >> --- -------------------------------- >> >> Anyone got any hints or suggestions? >> >> Thanks in advance for any assistance. >> >> Bob > do you use XP OS on Clients ? > Joining domain works, but the logon after reboot fails ? > > then you perhaps have forget to apply the Sign_or_Seal registry-patch ? > > bye Didi > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/sambaSent using Mulberry 3.01a