Forums

Resolved
0 votes
seem to not be able to get this to work... I got hit by lightning, blew out the Ethernet port on my printer... so i'm trying usb to my clearos.

# lsusb
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 008: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 007: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 005: ID 03f0:4417 HP, Inc EWS UPD
Bus 001 Device 004: ID 051d:0002 American Power Conversion Uninterruptible Power Supply
Bus 001 Device 009: ID 045e:0039 Microsoft Corp. IntelliMouse Optical
Bus 001 Device 006: ID 046d:c30f Logitech, Inc. Logicool HID-Compliant Keyboard (106 key)
Bus 001 Device 003: ID 0557:7000 ATEN International Co., Ltd Hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 003: ID 2109:8110 VIA Labs, Inc. Hub
Bus 004 Device 002: ID 2109:8110 VIA Labs, Inc. Hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


# testparm
Load smb config files from /etc/samba/smb.conf
NOTE: Service printers is flagged unavailable.
NOTE: Service print$ is flagged unavailable.
NOTE: Service profiles is flagged unavailable.
Loaded services file OK.
'winbind separator = +' might cause problems with group membership.

Server role: ROLE_DOMAIN_PDC

Press enter to see a dump of your service definitions

# Global parameters
[global]
add machine script = /usr/sbin/samba-add-machine "%u"
domain logons = Yes
domain master = Yes
guest account = guest
interfaces = lo enp7s0
ldap admin dn = cn=manager,ou=Internal,dc=system,dc=lan
ldap connection timeout = 8
ldap group suffix = ou=Groups,ou=Accounts
ldap idmap suffix = ou=Idmap
ldap machine suffix = ou=Computers,ou=Accounts
ldap ssl = no
ldap suffix = dc=system,dc=lan
ldap user suffix = ou=Users,ou=Accounts
log file = /var/log/samba/%L-%m
logon drive = U:
logon home = \\%L\%U
logon path =
logon script = logon.cmd
max log size = 0
ntlm auth = ntlmv1-permitted
passdb backend = ldapsam:ldap://127.0.0.1
passwd chat = *password:* %n\n *password:* %n\n *successfully.*
passwd chat timeout = 10
passwd program = /usr/sbin/userpasswd %u
preferred master = Yes
printcap name = /etc/printcap
security = USER
server max protocol = NT1
server string = MyServer
template homedir = /home/%U
template shell = /sbin/nologin
unix password sync = Yes
utmp = Yes
winbind enum groups = Yes
winbind enum users = Yes
winbind expand groups = 1
winbind offline logon = Yes
winbind separator = +
winbind use default domain = Yes
wins support = Yes
workgroup = IRKSHOUSE
idmap config * : ldap_user_dn = cn=manager,ou=Internal,dc=system,dc=lan
idmap config * : ldap_base_dn = ou=Idmap,dc=system,dc=lan
idmap config * : ldap_url = ldap://127.0.0.1
idmap config * : range = 20000000-29999999
idmap config * : backend = ldap
include = /etc/samba/flexshare.conf


[movies]
comment = Movies
create mask = 0664
directory mask = 0775
path = /var/flexshare/shares/movies
read only = No
valid users = @%D\allusers @allusers
veto files = /.flexshare*/
vfs objects = recycle:recycle
recycle:excludedir = /.trash,/tmp,/temp,/TMP,/TEMP
recycle:exclude = *.tmp,*.temp,*.o,*.obj,*.TMP,*.TEMP,~*.*
recycle:noversions = *.tmp,*.temp,*.o,*.obj,*.TMP,*.TEMP,~*.*
recycle:directory_mode = 0775
recycle:touch = No
recycle:keeptree = Yes
recycle:versions = Yes
recycle:maxsize = 0
recycle:repository = .trash/%U


[irk]
comment = Various Computer Files
create mask = 0664
directory mask = 0775
path = /var/flexshare/shares/irk
read only = No
valid users = @%D\allusers @allusers
veto files = /.flexshare*/
vfs objects = recycle:recycle
recycle:excludedir = /.trash,/tmp,/temp,/TMP,/TEMP
recycle:exclude = *.tmp,*.temp,*.o,*.obj,*.TMP,*.TEMP,~*.*
recycle:noversions = *.tmp,*.temp,*.o,*.obj,*.TMP,*.TEMP,~*.*
recycle:directory_mode = 0775
recycle:touch = No
recycle:keeptree = Yes
recycle:versions = Yes
recycle:maxsize = 0
recycle:repository = .trash/%U


[music]
comment = Music
create mask = 0664
directory mask = 0775
path = /var/flexshare/shares/music
read only = No
valid users = @%D\allusers @allusers
veto files = /.flexshare*/
vfs objects = recycle:recycle
recycle:excludedir = /.trash,/tmp,/temp,/TMP,/TEMP
recycle:exclude = *.tmp,*.temp,*.o,*.obj,*.TMP,*.TEMP,~*.*
recycle:noversions = *.tmp,*.temp,*.o,*.obj,*.TMP,*.TEMP,~*.*
recycle:directory_mode = 0775
recycle:touch = No
recycle:keeptree = Yes
recycle:versions = Yes
recycle:maxsize = 0
recycle:repository = .trash/%U


[flac]
comment = Lossless Audio
create mask = 0664
directory mask = 0775
path = /var/flexshare/shares/flac
read only = No
valid users = @%D\allusers @allusers
veto files = /.flexshare*/
vfs objects = recycle:recycle
recycle:excludedir = /.trash,/tmp,/temp,/TMP,/TEMP
recycle:exclude = *.tmp,*.temp,*.o,*.obj,*.TMP,*.TEMP,~*.*
recycle:noversions = *.tmp,*.temp,*.o,*.obj,*.TMP,*.TEMP,~*.*
recycle:directory_mode = 0775
recycle:touch = No
recycle:keeptree = Yes
recycle:versions = Yes
recycle:maxsize = 0
recycle:repository = .trash/%U


[hdhomerun]
comment = TV_Recordings
create mask = 0664
directory mask = 0775
path = /var/flexshare/shares/hdhomerun
read only = No
valid users = @%D\allusers @allusers
veto files = /.flexshare*/


[homes]
browseable = No
comment = Home Directories
path = /home/%U
read only = No
valid users = %D\%S %D+%S %S


[printers]
available = No
browseable = No
comment = Print Spool
cups options = raw
guest ok = Yes
path = /var/spool/samba
printable = Yes
read only = No
use client driver = Yes


[print$]
available = No
comment = Printer Drivers
path = /var/samba/drivers
read only = No


[netlogon]
browseable = No
comment = Network Logon Service
locking = No
path = /var/samba/netlogon
read only = No


[profiles]
available = No
browseable = No
comment = Profile Share
force directory mode = 02775
force group = domain_users
path = /var/samba/profiles
read only = No



# systemctl status smb nmb winbind -l
● smb.service - Samba SMB Daemon
Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 2021-08-26 00:37:41 CDT; 9h ago
Docs: man:smbd(8)
man:samba(7)
man:smb.conf(5)
Main PID: 12996 (smbd)
Status: "smbd: ready to serve connections..."
CGroup: /system.slice/smb.service
├─12996 /usr/sbin/smbd --foreground --no-process-group
├─12998 /usr/sbin/smbd --foreground --no-process-group
├─12999 /usr/sbin/smbd --foreground --no-process-group
├─13000 /usr/sbin/smbd --foreground --no-process-group
└─19741 /usr/sbin/smbd --foreground --no-process-group

Aug 26 00:37:41 orion.lan smbd[12996]: [2021/08/26 00:37:41.475115, 0] ../../lib/util/become_daemon.c:136(daemon_ready)
Aug 26 00:37:41 orion.lan smbd[12996]: daemon_ready: daemon 'smbd' finished starting up and ready to serve connections
Aug 26 09:46:36 orion.lan smbd[19741]: [2021/08/26 09:46:36.297737, 0] ../../lib/param/loadparm.c:1609(set_variable_helper)
Aug 26 09:46:36 orion.lan smbd[19741]: set_variable_helper(Nos): value is not boolean!

● nmb.service - Samba NMB Daemon
Loaded: loaded (/usr/lib/systemd/system/nmb.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 2021-08-26 00:37:41 CDT; 9h ago
Docs: man:nmbd(8)
man:samba(7)
man:smb.conf(5)
Main PID: 12965 (nmbd)
Status: "nmbd: ready to serve connections..."
CGroup: /system.slice/nmb.service
├─12965 /usr/sbin/nmbd --foreground --no-process-group
└─12966 /usr/sbin/nmbd --foreground --no-process-group

Aug 26 00:37:50 orion.lan nmbd[12965]:
Aug 26 00:37:50 orion.lan nmbd[12965]: Samba server ORION is now a domain master browser for workgroup IRKSHOUSE on subnet 192.168.0.1
Aug 26 00:37:50 orion.lan nmbd[12965]:
Aug 26 00:37:50 orion.lan nmbd[12965]: *****
Aug 26 00:38:03 orion.lan nmbd[12965]: [2021/08/26 00:38:03.922400, 0] ../../source3/nmbd/nmbd_become_lmb.c:397(become_local_master_stage2)
Aug 26 00:38:03 orion.lan nmbd[12965]: *****
Aug 26 00:38:03 orion.lan nmbd[12965]:
Aug 26 00:38:03 orion.lan nmbd[12965]: Samba name server ORION is now a local master browser for workgroup IRKSHOUSE on subnet 192.168.0.1
Aug 26 00:38:03 orion.lan nmbd[12965]:
Aug 26 00:38:03 orion.lan nmbd[12965]: *****

● winbind.service - Samba Winbind Daemon
Loaded: loaded (/usr/lib/systemd/system/winbind.service; enabled; vendor preset: disabled)
Active: active (running) since Wed 2021-08-25 23:57:26 CDT; 10h ago
Docs: man:winbindd(8)
man:samba(7)
man:smb.conf(5)
Main PID: 1549 (winbindd)
Status: "winbindd: ready to serve connections..."
CGroup: /system.slice/winbind.service
├─ 1549 /usr/sbin/winbindd --foreground --no-process-group
├─ 2140 /usr/sbin/winbindd --foreground --no-process-group
├─ 2146 /usr/sbin/winbindd --foreground --no-process-group
└─12302 /usr/sbin/winbindd --foreground --no-process-group

Aug 25 23:57:26 orion.lan winbindd[1642]: [2021/08/25 23:57:26.351624, 0] ../../lib/util/util.c:511(dump_data)
Aug 25 23:57:26 orion.lan winbindd[1642]: [0000] 53 4E 2F 53 2D 31 2D 35 2D 32 31 2D 31 36 35 32 SN/S-1-5 -21-1652
Aug 25 23:57:26 orion.lan winbindd[1642]: [0010] 39 30 38 37 34 2D 32 39 37 38 38 36 33 37 39 2D 90874-29 7886379-
Aug 25 23:57:26 orion.lan winbindd[1642]: [0020] 33 37 39 36 39 33 30 32 34 37 2D 35 31 34 37969302 47-514
Aug 25 23:57:26 orion.lan winbindd[1642]: [2021/08/25 23:57:26.351696, 0] ../../source3/winbindd/winbindd_cache.c:4063(cache_traverse_validate_fn)
Aug 25 23:57:26 orion.lan winbindd[1642]: data :
Aug 25 23:57:26 orion.lan winbindd[1642]: [2021/08/25 23:57:26.351714, 0] ../../lib/util/util.c:511(dump_data)
Aug 25 23:57:26 orion.lan winbindd[1642]: [0000] 73 00 00 C0 72 33 6D 5A 9E 34 6D 5A 00 00 00 00 s...r3mZ .4mZ....
Aug 25 23:57:26 orion.lan winbindd[1549]: [2021/08/25 23:57:26.360186, 0] ../../lib/util/become_daemon.c:136(daemon_ready)
Aug 25 23:57:26 orion.lan winbindd[1549]: daemon_ready: daemon 'winbindd' finished starting up and ready to serve connections
Thursday, August 26 2021, 02:54 PM
Share this post:
Responses (2)
Your Reply