hello, I'm using samba 3.x and lprng on debian stable. My Problem is described by the following: smbclient -L Sharename Type Comment --------- ---- ------- printer6 Printer lpp6 printer5 Printer lpp5 lpp4 Printer printer4 lpp3 Printer printer3 lpp1 Printer printer1 lpp0 Printer printer0 my printcap like this: printer6|lpp6:... printer5|lpp5:... printer4|lpp4:... printer3|lpp3:... printer2|lpp2:... printer1|lpp1:... printer0|lpp0:... One printer wasn't loaded to samba, ok shit happens. But how i could control which name would be picked as Sharename from samba <-- from printcap. By default printcap: printer|alias1|alias2|...:... But samba picks a random name als sharename? Sometimes printer, somtimes alias1 a.s.o. Whats going wrong? I want a List of shares like this (after import of printcap): smbclient -L Sharename Type Comment --------- ---- ------- printer6 Printer lpp6 printer5 Printer lpp5 printer4 Printer lpp4 printer3 Printer lpp3 printer1 Printer lpp1 printer0 Printer lpp0 Anyone could help? ty Ji
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 ji wrote: | hello, | | I'm using samba 3.x and lprng on debian stable. My | Problem is described by the following: .... | But samba picks a random name als sharename? Sometimes | printer, somtimes alias1 a.s.o. Whats going wrong? I want | a List of shares like this (after import of printcap): | | smbclient -L | | Sharename Type Comment | --------- ---- ------- | printer6 Printer lpp6 | printer5 Printer lpp5 | printer4 Printer lpp4 | printer3 Printer lpp3 | printer1 Printer lpp1 | printer0 Printer lpp0 | | | Anyone could help? Sounds like bug in out printcap parsing code. Mind filing a bug and attaching your printcap file? Thanks. cheers, jerry ====================================================================Alleviating the pain of Windows(tm) ------- http://www.samba.org GnuPG Key ----- http://www.plainjoe.org/gpg_public.asc "I never saved anything for the swim back." Ethan Hawk in Gattaca -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCy/ORIR7qMdg1EfYRAulMAJwKduVECj5b6p5bX+mRdxpXihtWPgCg5NkS ecRTH3Mg/ePTXAskyzlIL88=pwKJ -----END PGP SIGNATURE-----