- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Password in samba
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2004 10:04 PM
01-06-2004 10:04 PM
Password in samba
I have an NT sevrver and when the user try to connect to the HP-UNIX server where ther is a samba it is ask the user for the user name and password.
How I can set the smb.conf file so it will not ask for the username and password ?
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2004 11:53 PM
01-06-2004 11:53 PM
Re: Password in samba
* Keep 'smbnull' in your /etc/passwd file
* Remove from smbpassword file the 'guest' account & 'smbnull' account.
* In username.map - remove the xtra smbnull
* In smb.conf file map to guest=bad user
* Stop Samba and restart Samba
Depending on your version of Windows ( and the PC mfg ) you may get an initial login prompt menu when your end user makes their first connection. If you do, just type user=guest password=guest and hit enter. This seemed to be a Windows thing-not Samba.
Hope my memory is solid on this...like I said it's been a little while.
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2004 12:43 AM
01-07-2004 12:43 AM
Re: Password in samba
You do realize there are security implications of the setup you are asking about?
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2004 01:06 AM
01-07-2004 01:06 AM
Re: Password in samba
Makes me feel so much better, cause yesterday my memory failed and I 'sort of' forgot to do something for my new boss.....ouch !!
...security breach..yeah..but since our users had already jumped through a couple security passwords...I figured to get to this, I'd cut them a break...
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2004 01:17 AM
01-07-2004 01:17 AM
Re: Password in samba
I'm not sure if you want to have no passwords (ie guest level access) which has been discussed above, or whether you want to have authentication performed without prompting the user.
If you setup the smb.conf to use server level security you can then authenticate off the NT domain controller, without prompting the user for details. There's a section on this in the Using Samba book by O'Reilly.
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2004 05:04 AM
01-07-2004 05:04 AM
Re: Password in samba
# Global parameters
[global]
workgroup = YOURNTDOMAINNAME
netbios name = YOURSERVERNAME
netbios aliases = ALIASFORYOURSERVER
security = SERVER
encrypt passwords = Yes
password server = NTBDC1, NTBDC2, NTBDC3
username map = /etc/opt/samba/username.map
log level = 1
syslog = 0
log file = /var/opt/samba/log.%m
max log size = 10000
keepalive = 0
load printers = No
show add printer wizard = No
preferred master = No
domain master = No
wins server = ip.of.wins.server
valid users = user1, user2, etc
read only = No
create mask = 0664
force create mode = 0664
directory mask = 0775
short preserve case = No
dos filetime resolution = Yes
RGds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2004 02:30 AM
01-10-2004 02:30 AM
Re: Password in samba
I do not what I have to do !!
here is my smb.conf
************************************
workgroup = DOMAIN_NAME
server string = Samba Server
guest ok = yes
username = testuser
log file = /var/opt/samba/log.%m
max log size = 1000
security = domain
password server = *
encrypt passwords = yes
socket options = TCP_NODELAY
local master = no
read only = no
preserve case = yes
short preserve case = no
dos filetime resolution = yes
syslog = 0
comment = Home Directories
browseable = no
path = /tmp
**************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2004 05:05 AM
01-10-2004 05:05 AM
Re: Password in samba
Sorry here is my smbd.conf file :
[global]
encrypt passwords = yes
guest account = smbguest
hide unreadable = yes
hide dot files= yes
log level = 1
log file = /var/log/samba/%m.log
netbios name = WaleedSambaTest-ltams2
security = user
server string = "This is just a test"
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8192 SO_SNDBUF=8192
time server = yes
wins support = yes
workgroup = stc
[xml]
path = /xml_ora
comment = XML's home directory
writeable = yes
valid users = xml_user ***************************************
when I try to connect to the UNIX from my NT it is ask me for the username and passwd ??