Sponsored Content
Full Discussion: Samba Installation
Operating Systems AIX Samba Installation Post 302185366 by farl on Monday 14th of April 2008 11:35:42 PM
Old 04-15-2008
Samba Installation

Things have fared better on the new install of AIX 5200-09 on banora 192.168.0.144.
The IBM version of Samba 2.2.7-4 does not set up a smb.conf so I used the old one
with two modifications listed below in { .... } brackets.

[global]
workgroup = OPEN SOURCE
server string = Samba 3.0.4.0 { altered ver to 2.2.7-4 }
security = user
encrypt passwords = Yes
smb passwd file = /var/samba/private/smbpasswd
{ altered to: smb passwd file = /usr/bin/smbpasswd }
{ refer to #find / -name smbpasswd below }
log file = /usr/local/samba/var/log.%m
mangle case = Yes

[homes]
force user = %U
read only = No
hosts allow = 129.183.

[printers]
comment = All Printers
path = /usr/spool/samba
printable = Yes
browseable = No

[public]
path = /tmp
guest ok = Yes

The command # /usr/bin/smbclient -L banora seems to work better

added interface ip=192.168.0.144 bcast=192.168.0.255 nmask=255.255.255.0
Password:
Anonymous login successful
Domain=[OPEN SOURCE] OS=[Unix] Server=[Samba 2.2.7]
Sharename Type Comment

homes Disk
public Disk
IPC$ IPC IPC Service (Samba 2.2.7-4)
ADMIN$ Disk IPC Service (Samba 2.2.7-4)
hp4500duppcl Printer

Server Comment

Workgroup Master

The command #/usr/bin/testparm | pg seems to work well also

Load smb congig files from /etc/smb.conf
Processing section "[homes]"
Processing section "[printers]"
Precessing section "[public]"
Loaded services file OK.

Now to http://banora:901 in Seamonkey
Up pops a password box.
banora has only one user root who does not use a password
Log on to computer is always root and password left blank.
In the Seamonkey password box as a result of http://banora:901 I put in root as
user and leave the password box empty. Get 401 Bad Authorisation username or password incorrect.

I then tried this to set up user root without a password in smb.conf

# smbpasswd -a root
enter new smb password:
retype new smb password:
getsmbfilepwent: malformed password entry (no Smilie
getsmbfilepwent: malformed password entry (no Smilie
getsmbfilepwent: malformed password entry (no Smilie
getsmbfilepwent: malformed password entry (no Smilie
getsmbfilepwent: malformed password entry (no Smilie
add smbfilepwd entry: unable to open file.
Failed to add entry for user root.
Failed to modify password entry for user root
#
I tried to give user root a password as admin123 but still got this error.

Reading the web I think http://banora:901 to get into SWAT needs an association
between /etc/passwd and /etc/smbpasswd.
Here is my hunt on banora

# find / -name passwd
/usr/bin/passwd
/etc/passwd
/etc/security/passwd

# find / -name smbpasswd
/opt/freeware/bin/smbpasswd
/usr/bin/smbpasswd

# ls -l /etc/passwd
-rw-r--r-- 1 root security 526 Apr 13 11:22 /etc/passwd

# ls -l /usr/bin/smbpasswd
lrwxrwxrwx 1 root system 32 Apr 12 16:22 /usr/bin/smbpasswd
-> . ./../opt/freeware/bin/smbpasswd
#

Three questions please

(1) Is the password association matter stopping the http://banora:901 password
window in Seamonkey from working, using user root without a password ?

(2) Is the password path alteration I made in smb.conf okay ?

(3) The path in smb.conf " /usr/local/samba/var/log.%m " does not exist. There is
no file called log.%m in the computer. Does this matter ?

Regards
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Samba installation

HI. I am still having problems installing samba. i found a site where there is a package for auto install. i click on the link and it start to data stream, what going on, i thought it suppose to install it to /usr/local/ . Here is the link i download or try to download the... (4 Replies)
Discussion started by: souldier
4 Replies

2. Solaris

installation of Solaris: installation bypasses network config.

hello solaris friends, I've tried installing Sun Solaris 10.0, but everytime it seems to bypass the network config. screen that looks similar to this...here's the url: http://www.hup.hu/old/images/hup/Solaris/Sol10beta7/9.png I'm able to install it all the way through but I get no... (2 Replies)
Discussion started by: cadmiumgreen
2 Replies

3. Solaris

samba installation

Hi All, I want to install Samba packages in my server...I saw the processes that are related to samba are running. Being root, i dont have full permissions to stop samba and start it. I dont know whether i can kill the samba process. I was told to install samba on the system... ... (5 Replies)
Discussion started by: jegaraman
5 Replies

4. UNIX for Advanced & Expert Users

Why Samba is still pointing to old version after installation

Hallo, I am new to administer a Unix machine. Basically I have just upgrade the samba version from 2.2.8a up to 3.0.22 on Sol 9 SV210. the installation was successful. but then when I checked the version by using /usr/sfw/bin/smbstatus it was still showing 2.2.8a. I've restarted samba... (1 Reply)
Discussion started by: Luky
1 Replies

5. UNIX for Dummies Questions & Answers

samba

hi all having lots of issues with Macs connecting to samba servers being published via Red Hat 5.1. Seems to be varring problems depending on what OSX version we run from 10.5 to 6.3. I found a not on one of the forums about adding the unix extenstions= no and that has cured a few macs but not.... (0 Replies)
Discussion started by: treds
0 Replies

6. Solaris

samba issue: one samba share without password prompting and the others with.

Hi All, I've been trying to configure samba on Solaris 10 to allow me to have one share that is open and writable to all users and have the rest of my shares password protected by a generic account. If I set my security to user, my secured shares work just fine and prompt accordingly, but when... (0 Replies)
Discussion started by: ideal2545
0 Replies

7. Red Hat

Samba installation issue

hey, i am trying to install a new samba server using the source package in my redhat machine.i am using samba 3.6.4 version.actually i am not able to find out the smb.conf file in there.can anyone give me any idea about where to look for this configuration file?? (3 Replies)
Discussion started by: htshshrm2
3 Replies

8. Red Hat

Samba installation failing on Linux

We are trying to install samba server on linux environment but it's failing with following errors. Could any of you help me on this. body { margin: 0 0 0 0; padding:0 0 0 0 }td,div { font-family:Segoe UI;font-size:9pt;vertical-align:top }/* Copyright IBM Corp. 2011 All Rights Reserved. ... (4 Replies)
Discussion started by: talk1234
4 Replies

9. Solaris

Solaris 10 flash installation - fatal error. Solaris installation program exited.

Not very helpful to say the least. Seems to read the flar file and go through the upgrade and then come up with this error. Any ideas? (1 Reply)
Discussion started by: psychocandy
1 Replies
All times are GMT -4. The time now is 09:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy