[Samba] net getlocalsid problem

Gémes Géza geza at kzsdabas.sulinet.hu
Fri Oct 10 21:46:11 GMT 2003


Hi I decided after some testing and experimenting, to move the 
production servers from 2.2.x to 3.0. so I've installed samba3.0 in 
paralel with the old binaries. To start the migration I wanted to save 
the old domain SID, to can make the migration as transparent as 
possible, so I did:
  net3 -d 10 -I 127.0.0.1 getlocalsid
while the old binaries are still runing all that I've got (remember at 
debuging level 10!):

[2003/10/10 23:44:07, 5] lib/debug.c:debug_dump_status(359)
   INFO: Current debug levels:
     all: True/10
     tdb: False/0
     printdrivers: False/0
     lanman: False/0
     smb: False/0
     rpc_parse: False/0
     rpc_srv: False/0
     rpc_cli: False/0
     passdb: False/0
     sam: False/0
     auth: False/0
     winbind: False/0
     vfs: False/0
     idmap: False/0
[2003/10/10 23:44:07, 3] param/loadparm.c:lp_load(3917)
   lp_load: refreshing parameters
[2003/10/10 23:44:07, 3] param/loadparm.c:init_globals(1303)
   Initialising global parameters
[2003/10/10 23:44:07, 5] lib/iconv.c:smb_register_charset(87)
   Attempting to register new charset UCS-2LE
[2003/10/10 23:44:07, 5] lib/iconv.c:smb_register_charset(95)
   Registered charset UCS-2LE
[2003/10/10 23:44:07, 5] lib/iconv.c:smb_register_charset(87)
   Attempting to register new charset UTF8
[2003/10/10 23:44:07, 5] lib/iconv.c:smb_register_charset(95)
   Registered charset UTF8
[2003/10/10 23:44:07, 5] lib/iconv.c:smb_register_charset(87)
   Attempting to register new charset ASCII
[2003/10/10 23:44:07, 5] lib/iconv.c:smb_register_charset(95)
   Registered charset ASCII
[2003/10/10 23:44:07, 5] lib/iconv.c:smb_register_charset(87)
   Attempting to register new charset 646
[2003/10/10 23:44:07, 5] lib/iconv.c:smb_register_charset(95)
   Registered charset 646
[2003/10/10 23:44:07, 5] lib/iconv.c:smb_register_charset(87)
   Attempting to register new charset UCS2-HEX
[2003/10/10 23:44:07, 5] lib/iconv.c:smb_register_charset(95)
   Registered charset UCS2-HEX
[2003/10/10 23:44:07, 5] lib/charcnv.c:charset_name(74)
   Substituting charset 'ISO-8859-2' for LOCALE
[2003/10/10 23:44:07, 5] lib/charcnv.c:charset_name(74)
   Substituting charset 'ISO-8859-2' for LOCALE
[2003/10/10 23:44:07, 5] lib/charcnv.c:charset_name(74)
   Substituting charset 'ISO-8859-2' for LOCALE
[2003/10/10 23:44:07, 5] lib/charcnv.c:charset_name(74)
   Substituting charset 'ISO-8859-2' for LOCALE
[2003/10/10 23:44:07, 5] lib/charcnv.c:charset_name(74)
   Substituting charset 'ISO-8859-2' for LOCALE
[2003/10/10 23:44:07, 5] lib/charcnv.c:charset_name(74)
   Substituting charset 'ISO-8859-2' for LOCALE
[2003/10/10 23:44:07, 5] lib/charcnv.c:charset_name(74)
   Substituting charset 'ISO-8859-2' for LOCALE
[2003/10/10 23:44:07, 5] lib/charcnv.c:charset_name(74)
   Substituting charset 'ISO-8859-2' for LOCALE
[2003/10/10 23:44:07, 5] lib/charcnv.c:charset_name(74)
   Substituting charset 'ISO-8859-2' for LOCALE
[2003/10/10 23:44:07, 5] lib/charcnv.c:charset_name(74)
   Substituting charset 'ISO-8859-2' for LOCALE
[2003/10/10 23:44:07, 3] param/params.c:pm_process(566)
   params.c:pm_process() - Processing configuration file 
"/etc/samba3/smb.conf"
[2003/10/10 23:44:07, 3] param/loadparm.c:do_section(3420)
   Processing section "[global]"
   doing parameter workgroup = KZSDABAS
   doing parameter netbios name = PDC
[2003/10/10 23:44:07, 4] param/loadparm.c:handle_netbios_name(2712)
   handle_netbios_name: set global_myname to: PDC
   doing parameter server string = Samba Server %v
   doing parameter printcap name = cups
   doing parameter load printers = yes
   doing parameter printing = cups
   doing parameter printer admin = @adm
   doing parameter log file = /var/log/samba3/log.%m
   doing parameter max log size = 50
   doing parameter map to guest = bad user
   doing parameter security = user
   doing parameter encrypt passwords = yes
   doing parameter smb passwd file = /etc/samba3/smbpasswd
   doing parameter socket options = TCP_NODELAY SO_RCVBUF=8192 
SO_SNDBUF=8192
   doing parameter dns proxy = no
[2003/10/10 23:44:07, 4] param/loadparm.c:lp_load(3949)
   pm_process() returned Yes
[2003/10/10 23:44:07, 7] param/loadparm.c:lp_servicenumber(4059)
   lp_servicenumber: couldn't find homes
[2003/10/10 23:44:07, 10] param/loadparm.c:set_server_role(3867)
   set_server_role: role = ROLE_STANDALONE
[2003/10/10 23:44:07, 5] lib/charcnv.c:charset_name(74)
   Substituting charset 'ISO-8859-2' for LOCALE
[2003/10/10 23:44:07, 5] lib/charcnv.c:charset_name(74)
   Substituting charset 'ISO-8859-2' for LOCALE
[2003/10/10 23:44:07, 5] lib/charcnv.c:charset_name(74)
   Substituting charset 'ISO-8859-2' for LOCALE
[2003/10/10 23:44:07, 5] lib/charcnv.c:charset_name(74)
   Substituting charset 'ISO-8859-2' for LOCALE
[2003/10/10 23:44:07, 5] lib/charcnv.c:charset_name(74)
   Substituting charset 'ISO-8859-2' for LOCALE
[2003/10/10 23:44:07, 5] lib/charcnv.c:charset_name(74)
   Substituting charset 'ISO-8859-2' for LOCALE
[2003/10/10 23:44:07, 5] lib/charcnv.c:charset_name(74)
   Substituting charset 'ISO-8859-2' for LOCALE
[2003/10/10 23:44:07, 5] lib/charcnv.c:charset_name(74)
   Substituting charset 'ISO-8859-2' for LOCALE
[2003/10/10 23:44:07, 5] lib/charcnv.c:charset_name(74)
   Substituting charset 'ISO-8859-2' for LOCALE
[2003/10/10 23:44:07, 5] lib/charcnv.c:charset_name(74)
   Substituting charset 'ISO-8859-2' for LOCALE
[2003/10/10 23:44:07, 5] lib/util.c:init_names(270)
   Netbios name list:-
   my_netbios_names[0]="PDC"
[2003/10/10 23:44:07, 2] lib/interface.c:add_interface(79)
   added interface ip=192.168.0.2 bcast=192.168.0.255 nmask=255.255.255.0
[2003/10/10 23:44:07, 2] lib/interface.c:add_interface(79)
   added interface ip=192.168.1.2 bcast=192.168.1.255 nmask=255.255.255.0
[2003/10/10 23:44:07, 0] utils/net.c:net_getlocalsid(414)
   Can't fetch domain SID for name: PDC
[2003/10/10 23:44:07, 2] utils/net.c:main(758)
   return code = 1

Thanks for any suggestion!

Geza Gemes




More information about the samba mailing list