Piotr Kierklo
2007-Oct-16 14:24 UTC
[Samba] username with @ (at character) - problems with authentication (CUPS)
Hi all I tried to set up a printer, which I need to acces using my username. Unfortunatelly, username contains @ (at) inside. I tried different form of escaping (using backslash, unicode value, quotes etc). Nothing works. my username is: abc@domain.com my password is: 12345678 printer server is: srv-file printer name (with space): KyC2520 WITS From various docs i found the URI form I need, to configure the printer smb://username:password@server/printersharename So I did: #lpadmin -p kyo -P /tmp/PPD/English/Kyocera_KM-C2520_en.ppd \ -v smb://"abc@domain.com":12345678@srv-file/"KyC2520 WITS" \ -D kyo -o printer-is-shared=false But the CUPS display this URI as (it ignores the first @ character): smb://domain.com:12345678@srv-file/KyC2520 WITS Printer is accessible from Windows, I want to make it working with my Linux box. Can someone instruct me how to pass the @ character in username string? Thanks -- --- Piotr Kierklo --- Systems Engineer at World IT Systems -- piotr.kierklo@worlditsystems.com --
herman
2007-Oct-17 00:33 UTC
[Samba] username with @ (at character) - problems with authentication (CUPS)
Piotr Kierklo wrote:> Hi all > > > I tried to set up a printer, which I need to acces using my username. > Unfortunatelly, username contains @ (at) inside. I tried different > form of escaping (using backslash, unicode value, quotes etc). > Nothing works.Yup, Samba doesn't like funny characters. In general, if you stick to the POSIX portable character set then you'll be OK. For anything outside of that, you are on your own.
Necos Secon
2007-Oct-27 20:09 UTC
[Samba] username with @ (at character) - problems with authentication (CUPS)
Woohoo! Congrats on getting it working. I figured it would be worth a shot. Glad I could be of help. Theodore Charles III Network Administrator Los Angeles Senior High www.lahigh.org> Date: Fri, 26 Oct 2007 09:15:52 +0200 > From: piotr.kierklo@worlditsystems.com > To: secon_kun@hotmail.com > CC: herman@aeronetworks.ca; samba@lists.samba.org > Subject: Re: [Samba] username with @ (at character) - problems with authentication (CUPS) > > Hey Necos! > > Thank you, it works! I used DOMAIN\username notation. > -- > --- Piotr Kierklo --- > Systems Engineer at World IT Systems > -- piotr.kierklo@worlditsystems.com --_________________________________________________________________ Climb to the top of the charts!? Play Star Shuffle:? the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct