[Samba] Migrate smbpasswd from one instance to the other
Hello, is there a safe way to copy smbpasswd file from one instance to the other.? What we did was to copy the file and run syncsmbpasswd from HP 2.21 distribution. But this has a somehow 50% chance of success. It seemed that entries more than a year old could not be successfully migrated. Background: We're migrating from an old self build samba (Version 1.9.18) to HP CIFS Server 2.2l. TIA -- Peter -- [EMAIL PROTECTED] ConSol* Software GmbH Phone +49 89 45841-100 Consulting Solutions Mobile +49 177 6040121Franziskanerstr. 38 http://www.consol.de D-81669 München -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] CIFS and DFS
hello, maybe this is the wrong place, but according to http://us1.samba.org/samba/Linux_CIFS_client.html linux kernel cifs should be able to handle M$ dfs shares. I looked at the installation and usage instructions but it doesn't work. On the mount.cifs manpage I found no hint about a special switch to activate dfs parsing. Can anybody put some light into this? TIA -- Peter # uname -a Linux Astor 2.6.10astor #1 SMP Mon Mar 14 21:23:28 CET 2005 i686 GNU/Linux # mount -t cifs //nvgm015.muc/Fz-daten /mnt -o user=qx43144 Password: # ls /mnt Administration [...] # cd /mnt/* # ls ls: reading directory .: Object is remote # zgrep CIF /proc/config.gz CONFIG_CIFS=m CONFIG_CIFS_STATS=y CONFIG_CIFS_XATTR=y CONFIG_CIFS_POSIX=y CONFIG_CIFS_EXPERIMENTAL=y # mount.cifs -V mount.cifs version: 1.6 -- [EMAIL PROTECTED] ConSol* Software GmbH Phone +49 89 45841-100 Consulting Solutions Mobile +49 177 6040121Franziskanerstr. 38 http://www.consol.de D-81669 München -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba and cups printing: lp_servicenumber: couldn't find hl5150d
Gerald (Jerry) Carter [EMAIL PROTECTED] writes: [...]Hash: SHA1 Peter Weiss wrote: | Hello, | | found no answer for the following elsewhere setting up | samba on a Debian box: The printer is seen on the net from | the clients but no printing is possible. | I traced the thing down to the following: | | [2005/03/13 13:01:08, 10] printing/print_cups.c:cups_server(51) | cups server left to default localhost | [2005/03/13 13:01:08, 7] param/loadparm.c:lp_servicenumber(4051) | lp_servicenumber: couldn't find hl5150d | [2005/03/13 13:01:08, 8] param/loadparm.c:add_a_service(2305) | add_a_service: Creating snum = 7 for hl5150d | | Looking at the sources the printer is first looked up | in lp_servicenumber() and _after that_ the service is added | by add_a_service(). Has anyone a hint where to look at? This is normal (the log message). smbd defers to explicitly defined shares in smb.conf. We create one if [printers] exists and the requested name can be validated by the printing subsystem. [...] Okay, here are the details: smbclient -L pichuco shows the printer, I'm able to login and use the Disk shares (so I guess it's no authentification problem). But if I try to use the printer I get a tree connect failed: NT_STATUS_BAD_NETWORK_NAME. I still think it's related to the add_a_service()/ lp_servicenumber() order. In the log.smbd I see no errors or hints for possible reasons. I can send them on demand, the NT_STATUS_BAD_NETWORK_NAME error does not show up. Peter ~:1 smbclient -L pichuco Password: Domain=[TANGO] OS=[Unix] Server=[Samba 3.0.10-Debian] Sharename Type Comment - --- public Disk Export Pool Directory homes Disk User Home Directories tmp Disk Temporary disk space print$ Disk Printer Drivers IPC$IPC IPC Service (Pichuco) ADMIN$ IPC IPC Service (Pichuco) hl5150d Printer Brother HL5150D PostScript Printer hl5150ddbl Printer Brother HL5150D Duplex PostScript Printer peter Disk User Home Directories Domain=[TANGO] OS=[Unix] Server=[Samba 3.0.10-Debian] Server Comment ---- PICHUCO Pichuco WorkgroupMaster ---- TANGOPICHUCO ~:1 smbclient //pichuco/hl5150d Password: Domain=[TANGO] OS=[Unix] Server=[Samba 3.0.10-Debian] tree connect failed: NT_STATUS_BAD_NETWORK_NAME -- [EMAIL PROTECTED] ConSol* Software GmbH Phone +49 89 45841-100 Consulting Solutions Mobile +49 177 6040121Franziskanerstr. 38 http://www.consol.de D-81669 München -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Samba and cups printing: lp_servicenumber: couldn't find hl5150d
Hello, found no answer for the following elsewhere setting up samba on a Debian box: The printer is seen on the net from the clients but no printing is possible. $ smbclient -L pichuco Domain=[TANGO] OS=[Unix] Server=[Samba 3.0.10-Debian] Domain=[TANGO] OS=[Unix] Server=[Samba 3.0.10-Debian] Anonymous login successful Sharename Type Comment - --- public Disk Export Pool Directory homes Disk User Home Directories tmp Disk Temporary disk space print$ Disk Printer Drivers IPC$IPC IPC Service (Pichuco) ADMIN$ IPC IPC Service (Pichuco) hl5150d Printer Brother HL5150D PostScript Printer hl5150ddbl Printer Brother HL5150D Duplex PostScript Printer Anonymous login successful Server Comment ---- PICHUCO Pichuco WorkgroupMaster ---- ASTOR TANGOPICHUCO Relevant messages of printer initialization in /var/log/samba/log.smbd: [...] [2005/03/13 13:01:08, 5] lib/charcnv.c:charset_name(81) Substituting charset 'ANSI_X3.4-1968' for LOCALE [2005/03/13 13:01:08, 5] printing/print_cups.c:cups_printer_fn(79) cups_printer_fn(0x807f970) [2005/03/13 13:01:08, 10] printing/print_cups.c:cups_server(51) cups server left to default localhost [2005/03/13 13:01:08, 7] param/loadparm.c:lp_servicenumber(4051) lp_servicenumber: couldn't find hl5150d [2005/03/13 13:01:08, 8] param/loadparm.c:add_a_service(2305) add_a_service: Creating snum = 7 for hl5150d [2005/03/13 13:01:08, 3] param/loadparm.c:lp_add_printer(2425) adding printer service hl5150d [2005/03/13 13:01:08, 7] param/loadparm.c:lp_servicenumber(4051) lp_servicenumber: couldn't find hl5150ddbl [2005/03/13 13:01:08, 8] param/loadparm.c:add_a_service(2305) add_a_service: Creating snum = 8 for hl5150ddbl [2005/03/13 13:01:08, 3] param/loadparm.c:lp_add_printer(2425) adding printer service hl5150ddbl [2005/03/13 13:01:08, 6] param/loadparm.c:lp_file_list_changed(2694) lp_file_list_changed() file /etc/samba/smb.conf - /etc/samba/smb.conf last mod_time: Sun Mar 13 11:39:33 2005 [2005/03/13 13:01:08, 2] lib/interface.c:add_interface(79) added interface ip=192.168.92.1 bcast=192.168.92.255 nmask=255.255.255.0 [...] I traced the thing down to the following: [2005/03/13 13:01:08, 10] printing/print_cups.c:cups_server(51) cups server left to default localhost [2005/03/13 13:01:08, 7] param/loadparm.c:lp_servicenumber(4051) lp_servicenumber: couldn't find hl5150d [2005/03/13 13:01:08, 8] param/loadparm.c:add_a_service(2305) add_a_service: Creating snum = 7 for hl5150d Looking at the sources the printer is first looked up in lp_servicenumber() and _after that_ the service is added by add_a_service(). Has anyone a hint where to look at? TIA -- Peter -- [EMAIL PROTECTED] ConSol* Software GmbH Phone +49 89 45841-100 Consulting Solutions Mobile +49 177 6040121Franziskanerstr. 38 http://www.consol.de D-81669 München -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba